package com.site.wisdom_construction.entity.userAuthorityModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/** @Description @Author DYF @Date 2021-12-22 */
@ApiModel(value = "模块表实体类", description = "Role")
public class Role {
  /** 权限表id */
  @ApiModelProperty(value = "权限表id", name = "id")
  private Integer id;

  /** 种类 */
  @ApiModelProperty(value = "种类", name = "category")
  private String category;

  /** 权限名称 */
  @ApiModelProperty(value = "权限名称", name = "roleName")
  private String roleName;

  /** 权限路由地址 */
  @ApiModelProperty(value = "权限路由地址", name = "roleUrl")
  private String roleUrl;

  /** 路由名称 */
  @ApiModelProperty(value = "路由名称", name = "roleUrlName")
  private String roleUrlName;

  /** 已开通图标地址 */
  @ApiModelProperty(value = "已开通图标地址", name = "iconUrl")
  private String iconUrl;

  /** 未开通图标 */
  @ApiModelProperty(value = "未开通图标", name = "noIconUrl")
  private String noIconUrl;

  /** 状态(0:不可用 1:可用) */
  @ApiModelProperty(value = "状态(0:不可用 1:可用)", name = "status")
  private String status;

  public Role() {
    super();
  }

  public Role(Integer id, String category, String roleName, String roleUrl, String roleUrlName, String iconUrl, String noIconUrl, String status) {
    this.id = id;
    this.category = category;
    this.roleName = roleName;
    this.roleUrl = roleUrl;
    this.roleUrlName = roleUrlName;
    this.iconUrl = iconUrl;
    this.noIconUrl = noIconUrl;
    this.status = status;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getCategory() {
    return category;
  }

  public void setCategory(String category) {
    this.category = category;
  }

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public String getRoleUrl() {
    return roleUrl;
  }

  public void setRoleUrl(String roleUrl) {
    this.roleUrl = roleUrl;
  }

  public String getRoleUrlName() {
    return roleUrlName;
  }

  public void setRoleUrlName(String roleUrlName) {
    this.roleUrlName = roleUrlName;
  }

  public String getIconUrl() {
    return iconUrl;
  }

  public void setIconUrl(String iconUrl) {
    this.iconUrl = iconUrl;
  }

  public String getNoIconUrl() {
    return noIconUrl;
  }

  public void setNoIconUrl(String noIconUrl) {
    this.noIconUrl = noIconUrl;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "{" +
            "id=" + id +
            ", category='" + category + '\'' +
            ", roleName='" + roleName + '\'' +
            ", roleUrl='" + roleUrl + '\'' +
            ", roleUrlName='" + roleUrlName + '\'' +
            ", iconUrl='" + iconUrl + '\'' +
            ", noIconUrl='" + noIconUrl + '\'' +
            ", status='" + status + '\'' +
            '}';
  }
}
